two-sided manifold