use simulation and work from context