use median price replace average price