finish TArray class