rearranged so that case0701 is first and case0702 is second