loop over assemblies in an array