added -merge arg