worked on search and template