hw6-3: analytics