sandbox initialisation (example for gui)