added replaced option.