started implementing the GUI