added graphical user interface.