added missing encoding statement