made Piece follow equatable protocol