crashdump funcs and then some more