factored out graduation-interval