passing function-name as scope-context