more encoding fun