solve the jump problem