dumb mistake in the type of Array.