Added getEstimate function