mention in comments, that logger is optional