col and row values were reversed
changed options layout
removed console log