added $merge command