rename the functions array, rearrange the order of the functions