David Pastrnak’s efforts Wednesday night, and the efforts of those at TD Garden, have helped a good cause.

After the Boston Bruins winger netted his third goal of the game against the Montreal Canadiens, B’s fans took part in the well-established tradition and threw their hats on the ice.

The Bruins announced on Twitter during the second intermission that those hats will be donated to the New England Center for Homeless Veterans.

It had been an impressive night for the 23-year-old Pastrnak. His first goal of the contest earned him a career-high in goals with 39, while his second of the game was No. 40 on the season.

Helping a good cause, though, certainly could be a No. 1 highlight when the night was all said and done for Pastrnak.

Thumbnail photo via Winslow Townson/USA TODAY Sports Images