put encoder back