samples redirect edit