If/then/else; need to review output_expr to handle statements as well as expressions in the output