added check to ensure age entered was numerical