change pos to use & operator