proc_to_source_string method added