Defer loading using while loop