Create less function is connect loop.