add basic function to Board