working on board class