beginning of a GUI