added median

overlooked it ...