changed guiFactory