why a nested run loop?