more pre-encoding