added nokogiri to parse the xml