removed read_table function