Attempt for dynamic array