add console shim
first workable version