Added function readChars