rearranged repo