REF: output z as int instead of float