Berkeley needs to access the buffer in each function for his experiments.