add some logging stuff