added delete to hash getting ready for writing set