Added getAllPieces