updated encoder stuff