added a gui and set up the frame kinda