added calling foo for win