updated some logging