added amsApplicationKey