working on wiring up logging...