added logger initialization