Fixed avg_age method. finished.