Newbie help with shader

I’m trying to create a stylised fire effect and have got so far, but I’m now stuck…See the images, I need the fire effect to only appear in the alpha mask, instead, it is acting as a cut-out. I know this is very simple, but can’t figure it out.

Copy and paste your material here:

your mask is inverted…the 1-x node inverts stuff, in the masks white = 1 = yes, black = 0 = no, grey is a lerp between