Replaced x., .y, .z by [0], [1], [2]