Using a loop.