HELP Blender cycles transparency not working

I’ve been trying to get this glass box to render for a while now and nothing is working. The prerendered one is transparent where as the rendered is opaque. Ive looked online and found node setups but nothing happens. tried glass and transparency but both have the same effect

Look in your outlined and click on render visibility (the camera) for Cube. It is rendering on top of your other cubes.

ah i feel so stupid, thank you