Rearrange the order to get debugging output