Fixed an import
Added a logging message