add func & test to Board Class