added commonjs helpers