I used titebond 2 to glue the tenon into the stud and then PL Premium to glue the stud to the ledge board. I am attempting to get max rack resistance so that I can skip adding plywood to the exterior of my walls. So far I'm really impressed with the result and I haven't even tight fit the foam between the studs which I expect will additionally limit rack