Commented the createPiece method