Commented out some verbose logging te make the output more readable.