look for infinite loop