added console toggle