naive QExpr implementation