how to use simulation