restructured level1, will add truth_histogram next