added get_conn