added cache::r, cache::w wrappers