added console shim