implemented local connection over eapi functionality