Extracted connection to simple_connect