working on board logic and view