Modified to allow for default interval names.