changed #to_hash to #to_h