Removed the z variable