Updates to add dynamic arrays

Updates to add dynamic arrays