Adds code to manually calculate ages