addition of graphical method median comparison