added wheel encoder functions