added board dimentsions to initialization