more planning and content for writing fcns --> data agg