begin implementation of movement and hopping logic