the variable `changed` doesn't look like it's used