working on tying the GUI to the rest