added median points