An electrical connector for electrically connecting a CPU to a main board includes a base covered with a cover. The method further comprises determining an inter-peak histogram of the distances, determining an inter-ball distance for each pair of adjacent balls that has the maximum value of the inter-peak distance histogram corresponding to the pair of adjacent balls, and determining a position of a first ball and a position of a last ball. Outside the housing body the two terminal strips are bent in such a way that they comprise a first portion extending at an angle to the first side face, and a second portion extending along and spaced from the first side face. When the cam member is in the locking position, the cam member holds the first and second pins in the hole engaging position.