Updated replacer function