re-start work on crash detection (but better this time)