getter functions for the board class