added median to centering rt