now able to run in simulation