add store medians