Added natural_intervals logic