cloning resulted in 3 times looping over the same stuff, simplified