change pos to position