developed structure for rest of analysis and summary compilation