added a dynamic array