corrected training data example, and code