initial commit. can compute size of array