split up search result action sub functions