App now crashes in a more controlled manner