finished up all possible intervals and refactored out how they are set