number given should result in number of panes, not num + 1
adding grid option