ah thank you thats it but how does he adds it automatically? so i dont need to play with the sizes?
It's Ctrl+J to frame selected. If you have node wrangler addon turned on then you can also use Shift+P, which a lot of people prefer since alt+p removes selected nodes from the frame.