issue #7 - logging