adds Nokogiri, messy debug comments too