for non-coaxial gates