add merge and quick