Added logger, to fix warning