added polyfill to testing