alter collection manipulation to be more Swfity