added new entity connection method