added easy16 encoding