trying to get hashes returning right