Constructing a torus