added Lift encoder funtions