initialize board functionality