def unstack_m(state,b1):
	"""Generate a pickup subtask."""
	if state.is_true("clear", [b1]): 
		for atom in state.atoms:
			if atom.predicate.name == "on" and atom.args[0].name == b1:
				return [('unstack',b1,atom.args[1].name)]
	return False