completed crash implementation