puts within loop that may be infinite