rewrite of dcache