added uppercase macthing to validation