added code for checking for under age