changed learn_csv1 to test errors