added age method and age to the view