Added list combining function.