finally added input from gui text area