change for encoding