add median to summary