reorder the calls