the function file for the main_DefaultPred