Write description about connect method