corrected board and cell class