support merging two lists.