choose layer index for torque