Added int to keep track of array size.