Add function to check age of objects