I've clamped blocks to the tops and edges of the bench to help align the end cap as it is attached. The end cap is held on to the bench with two lag bolts. One of them floats in an elongated slot to accommodate any possible wood movement.