added k means analysis