made modifyBoard a private member function v30