Scope with argument using proc