add crash handle stuff