refactor board display into method object