nails if else magic in bio and age calculation given dob