refactored Board to inject positions