add the function to estimate datasummry