simulator compiles and runs (and then break)