Changed row and column coordinates to be more intuitive