realized the function of "OTP" GUI