rex merge