need to finish code for checking for a jump