adding classes for pieces