Search: friend and foe