added option for multiple iterations during fitting