some logging additions