Please remind me why we use loops? Is this the memory issue?