Added sec0dists and sec1dists