integration of GUI with backend