Functionality added to GUI