add some stuff in preparation of the GUI