build and add class to article