search in array is work