adjust the order of operation