adding classes to widget