store position for each item