added merge join