Text this: Finite element formulation for semi-rigid beam-to-column connections using potential energy approach