changing my replace feature