total order working