Oops made an error with copy and replace in the example