better searching and scanning