add t and autojump and some globals