Package Encoder properly