added Gui reference