added cache debugging tool