finally adding board#isValid