implemented one missing function from naive_board