working on clientgui