more encoder work