add class names to components