CaseCommand in Encoder