minor change
modify search method