forgot to de-reference the array first