pass console wrapper reference to apply