Function useMerge