Add setpositions operation