added parameters to board class