mixing in some logging