a simple tools to search through a database