add median for TH1