sample replace