change hash_result to to_h