adding some verbose logging