No more infinite loops due to no-error checking