Changed composite to median