Added platform code