some malarkey about logging