Added GUI-functionality