improving our make-move function