little demo shows how to handle crash