implmeented board constructor