added platform polyfills