Added a dynamic array generator to replace the hardcoded arrays.