Add age calculation functio for a candidate