modified training data parser