added board reset functionality