encoding changed to constant