tutorial has weird errors