worked on example GUI