rearrange to provide filetype specific jumping behaviours