check_valid_visa() is added