Pass hashes by reference