clear board functionality