added delete method to the cache interface