problems about intervals