removed array of booleans in search
removed array of booleans in search