Median Framework