Added code for the rest of the movement