correct search for in an array statement added