Use infinite loop in program