Used quasi-private subs. Enter intervals()
Decremented version