moved old implementation of conn_table to conn_tab.c