Preheat your oven to 180C (160 Fan) and prepare a 9x9inch square baking tin with parchment paper allowing overhang so you can pull them out once cooked.
Melt butter in a large saucepan with both the light brown sugar and caster sugar. Do this on a low heat.
Take off the heat and after a couple of minutes add in your white chocolate. Allow to melt in for a few minutes before stirring in. Pour into a mixing bowl and leave to cool on the side for 10 minutes. The mixture I find looks quite separated / too much butter, but don't worry it's absolutely fine!
Add your vanilla and your eggs one at a time, mixing with an electric hand whisk between each addition.
Next add in your gluten free plain flour, xanthan gum and custard powder - make sure you sieve the custard powder as it can be a bit lumpy! Mix again using the electric hand whisk until combined.
Spoon or pour the mixture into your pre-prepared tin. Place custard creams all over the top (no need to push them in hard). I did mine at random and broke some in half to make it not look too perfect or orderly!
Place in the oven for about 40 minutes. Check it after 30 minutes though, if the custard creams are going a little too brown then cover with some foil if it still needs another 10 minutes cooking.
Once cooked remove from the oven and allow to completely cool in the tin.
Once cooled, slice into squares. You can cut the edges off if you like - these I find aren't as fudgy as the rest as they were cooked the most!
Enjoy!