position to pos