The X-ray modulation of Cygnus X-3