working on some hw and taking notes in aggregate.js