cleaned up some logging statements