a little better logging