further work for a simulation environment
housekeeping