nokogiri solution for elaine