fixed addPos function