Added jumplogic