Added median calculation in