I would extract the ```for``` loop to a separate method (```createFormatters```?)