after reading about intervals and iterators