implement populate board functionality