reorder read/wait