hw8_2 testing with to_string