adding xs and ys to module