created base controller & add jump function