add connection end