adding classes to group stack
merge