J.R. Smith set an NBA record during Sunday’s loss to the Heat, and it’s one that most casual observers may have been surprised to hear that he didn’t already hold.

Smith has been known as a shoot first, ask questions later type of player throughout his career, and shot himself into the record books by attempting 22 three-pointers, the most ever attempted in a single game in NBA history.

The previous record was held by Damon Stoudamire, who attempted 21 threes while with the Blazers back in 2005.

Smith wasn’t just chucking for the sake of it, however, at least before his last couple of record-breaking attempts. He set a team record by making 10 of those attempts from three-point distance, and it was his scoring that kept the Knicks within striking distance in this one, with his 32 points leading the team in scoring for the second straight game.