add minimal logging