Use into_string() instead of String::from_str()
Consume strings instead of borrowing slices and creating strings