Added automatic age detection