add the infinite loop