board: introduce toWhite and use it