changed getChar of main controller