rearranged rows