adding attribute classes