search done, template done