made changes to v2_classification.m