tried to get the gui work