now appends new x and z to lists