some logging and more aggressive iteration