add reset function to board