rearrangement m up to left/right