Update xyz.cpp

aw