replace "connect" by "use" method