added classes to range element spans and removed the leading paragraph