The compiler complains that `to_owned()` should be replaced by `to_string()`. Could you fix that?