finished refactoring of interval interfaces