added the course student age type function