create name and age methods