Now handling process function returning a list of row