Function evaluateAll