add to_string for debug information