Attributor example from stanford course.