COMPASS: an instrument for measuring the polarization of the CMB on intermediate angular scales