added functional for estimating