Good things came in threes for WWE SummerSlam and the Barclays Center, so why mess with a good thing?

Barclays, WWE and NYC & Company announced an agreement Monday morning that will keep WWE's second biggest show of the year in Brooklyn in August 2016 and 2017.

advertisement | advertise on newsday

Barclays hosted SummerSlam last month after six years in Los Angeles, selling out three WWE events in consecutive nights -- WWE's NXT developmental brand, SummerSlam and Monday Night Raw.

WWE will stick to that concept the next two years, with the NXT-SummerSlam-Raw trifecta going to Barclays Aug. 20-22 in 2016 and Aug. 19-21 in 2017.

This year's SummerSlam received an extra jolt of mainstream buzz when recently retired "Daily Show" host Jon Stewart hosted the event and hit John Cena with a chair during his World Heavyweight Title vs. United States Title bout with Seth Rollins.