handle ordering of boards, write tests