each piece has separate class