added set_name to hash