Implemented part of the GUI