Fixed the movement method