Created new method for deleting cache