added getPoints method to cluster