Add function to compare age