Added z and wd