fix sim.decoBox arguments, add a sim.canMove function