Added z as a dependancy