redesigning board class