added function for seting required age