added device classes for paragraph