add search term builder method in the controller. Now time to google it