Take a carriage bolt and mount it thru with some sealer under the square shoulder and smack it with a hammer to set it in wood. then cover it with your carpet. , better yet, wrap the top and sides in plastic first to keep water off the tops of bunk where air can't circulate. Use anti-sieze on nuts and it should last long time.