getChar modified