added getRow and getCol