implemens Board#setFlag