part 1 of adding grid to store the state of new annotations