The CW’sStargirlhas added Jim Gaffigan tothe growing list of new cast membersjoining the series for its second season. The comedian will provide the voice for the DC Comics superhero known as Thunderbolt, a genie and former member of the Justice Society of America.

In the first season ofStargirl, Courtney Whitmore ventures to the Justice Society of America headquarters to steal artifacts hoping they can be used as part of her plan to reformthe superhero team. Included in the collection of items she sought was a pink pen that her stepfather, Pat Dugan, frequently warned against using and described as a dangerous weapon. Undeterred, Whitmore attempts to grab the pen only for it to produce an electrical charge that causes the item to laugh at her, which surprises the young heroine but doesn’t prevent her from placing it in her bag.

RELATED:Justice League’s Ray Fisher Reveals How Many Cyborg Scenes Were Reshot

Entertainment Weekly reportsthe pen storyline will pay offwhen Stargirlbrings Thunderbolt to life through a combination of CG and Gaffigan’s voice. Per the official description of the character, Thunderbolt will share his comic book counterpart’s ability to grant wishes. Unfortunately, fulfilling the desires of wish-makers often causes more trouble for them despite Thunderbolt’s heart being in the right place. While the pink jinn may be a fun-loving being on the outside, he also harbors the wounds of losing close friends over the course of his long life, including former JSA member Johnny Thunder.

In the comics, Thunderbolt is the 5th dimension jinn named Yz who resides in a pen given to Thunder. Together they embarked on many adventures and even thwarted the world-dominating ambitions of the Badhnesians by summoning Superman. However, Thunder’s control over Thunderbolt began to weaken during their time with the Justice Society and he eventually lost track of the pen that housed his friend shortly after developing symptoms of Alzheimer’s disease. The pen eventually came into the possession of a young African American boy named Jakeem Williams, who became Thunderbolt’s new companion and a member of the JSA.

While the first season ofStargirldebuted new episodes on DC Universe before airing them on The CW the next day, the network will now serve as the exclusive home of the series for its second season. DC Universe, on other hand, is in the midst of transitioning from avideo-on-demand streaming serviceto a digital comics subscription service.

However,Stargirlwon’t be joined by its former DC Universe contemporaries, includingDoom PatrolandHarley Quinn, on The CW. Those shows will insteadmove to HBO Maxfor their upcoming seasons.

MORE:What Makes a Good Villain? Jump Back Inside the MCU for Marvel’s Clues