I epoxied and screwed that rail piece to the wall and then piano hinged a piece that flips up and is screwed to the table with three thumb screws. Holds the table rock solid - - NO shake or shimmy - - and easily disconnects if we need to make up a bed.