comments and aggregate instead of foreach