making iterables usable
changing synchronization to be only when adding values in trace