In the third book _Ray Tracing For The Rest of Your Life_, listing 11 for `material.h` has: `scattered = ray(rec.p, unit_vector(direction), r_in.time());` the variable `direction ` was not declared.