modify to use jmp