add 'lost_sheep' function