more buffer cache implementation changes