array added to has_table handling