removed crash_types function