sample_connect