add some documentation for gui