adding simulator initialization