cleaned up search_inside partial