Added more functions to be filled in with encoder stuffs