edited simulate