I used the wrong name for the replace_field function