SIM: Avoid the crash - exercise