add interface for searching