Changed wd alias example to function