reorder checks