move toward passing EtfLoop object instead of raw loop.