working version of search and kill policy