Updated infinite loops recipe