Implemented generic searching