modified simulator