added fucntion to jump