rewrote add_member_connect, hopefully works and cleaner