reducing data structures