Pass by value for optional parameter in win_add