The Conservative manifesto committed us to renegotiation followed by an in/out referendum, which was exactly what we delivered. The whole argument I am making is that the question of EU membership is inextricably linked to that of the single market.
The problem with trying to control migration within the EU is that the Commission rigidly stuck to the doctrine that the free movement of people was one of the immovable pillars of the single market, and that any attempt to favour UK nationals over EU nationals was discriminatory and illegal. That was despite the fact that the whole reality of its application had changed since we initially agreed to single market membership, and that there was no similar perfect purity applied to the other pillars, particularly in services, in which the UK stood to be a major beneficiary of a pure single market.