Added lift encoder stuff