beginnings of a search module