added functionality to jump state