search functions for watbot