hash_delete function added