improved interval interface