Added a check to make sure numbers passed to move