added a check to see if a valid country has been entered. exits
if not.