new class methods to create attributedString