added median, sd.