added tf_analysis. Updated source_tf