New Method for replace.