adding dp-means