add platform code