bundle api: getVariables + addPiece