enhanced a bit our logging facility