added functions to inspect estimation process