fixing up logic for jumping