Adding replace_all field, changing initialization