made convert_to_string public