added default arg to evaluateConstantFunction()