added jumping functionalities