DynamicArray working1