use internal constants for appId and masterKey