Changed from hybrid array to dynamic array.