first draft of printExpression