acutallyAdded = randomFilter(amountRequested); currentLevel += acutallyAdded; return acutallyAdded;
    public float add(float amountRequested) {        //idiot check        if (Float.isNaN(amountRequested)) {            myLogger                    .warn(getModuleName()                            + ": warning, in add(), attemped to add "                            + amountRequested);            return 0f;        }        if (amountRequested <= 0)            return 0f;        if (pipe)            currentCapacity += amountRequested;        float acutallyAdded = 0f;        if ((amountRequested + currentLevel) > currentCapacity) {            //adding more than currentCapacity            acutallyAdded = randomFilter(currentCapacity - currentLevel);            currentLevel += acutallyAdded;            overflow += (amountRequested - acutallyAdded);            return acutallyAdded;        } else {            acutallyAdded = randomFilter(amountRequested);            currentLevel += acutallyAdded;            return acutallyAdded;        }    }