Adding infinite while loop.