trying to deal with kmeans. also readded redmagicsdss