removed further unnecessary encoding conversions