add partial logging
add partial logging
big refartoring anf optimization of isce exp