adding classes attribute