separate controller for search