Added calculation expression to anonymous function