Having trouble with avg_age method