added code for finding rows for csv field