added logger class