first version of simulator