@Override
    public int loop() {
        if(start) {
            if(task == null || !task.hasNext()) {
                task = container.iterator();
            } else {
                final Node curr = task.next();
                if(curr.activate()) {
                    curr.execute();
                }
            }
        }
        return stop;
    }