Re-ordered functions, put reads and writes together
Marking and uncovering are handled in Grid now.
Marking and uncovering are handled by Grid.