add conn_stat structure