compiles then crashes - standard procedure