infinite loops are the devil