keep track of the positional indices