issue #155 logging added