prototype of GUI