END: replace mean with median of population