rearrange for use