worked on GUI and generator