Smart patrol