Flat wood to flat wood. That was difficult enough. There is also a screw to apply horizontal compression on the joint as well.