Gave board API for setting state