redoing the gui class