adding completion system for connect function