Initialize pos to be -1