added support for sdk pack 8 and above