added yes/no validation