It was working fine basically the thing is I was unable to see the results because it wasn't giving line breaks so i thought that it's not available but it was merging perfectly fine. Thanks for the help and time.