added logger to constructor args