passing row index to extractors