Changed name of variable to enc.