crash implimented