move definition of BADARRAY