implements board
implements setflag feature