add jmp/mark and completion functions