a bit of work in search entry