finished get_conn