Looping now works (any depth)