add template for search