introduces logger
some more logging