passing board into controller