wrap, and replace