functions position rearrange 2