search.tpl initial work