add median line