pass encoding through