Added brackets around function call substitution.