refactors suggest search