Adding array verification