working on fixing board code