added reset method in board class