local variables, CL output, todo: add selection to CL output