changed name of piece to Piece