search working but not well for UI