changed default estimate to median