added option of changing size of board