dummy encoder