modifying encoding section