Added convertToAscii method