added logger
Added logger