added cache cleaning function