reorder probe code