Changes for DynamicArray