added the graduation feature.