add description of database search function