All functions written, crashes instantly