Updated board control algorithm