small edit in move method. moving output above toMove