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