Added Median Controller