removed unused rows in the method findColumn since the row is irrelevant.