add gui source codes