added GUI to main