add platform and platform-types