finalizing OTP operations