connect me function