Add seperate simulate function
Add seperate simulate function