Three code smells identified and fixed. 1- multiple occurrences of the same string literal "MM/dd/yyyy". 2- ageInMs calculation longer than 100 lines. 3- age conversion uses multiple magic numbers.