improve convertRowsToList a bit