Implemented age calculation