add checknum and authcode