adds the z component