updated to include age variable