working table->array->table parsing