Fixing index => (row, col) calculation because I'm dumb;