Changed to_str and ToStr to to_string() and ToString