put the infinite loop back in