i have added the search template in the main file