rearrange require