moved age restriction logic to model