add classes and truncate description