This is the code from the Youtube crash course.