board class functionality added