inverted_string has been done