created structs to keep track of array sizes.