changed to read write intervals