Added GUI functionalities