gui is now fully functional