example: commonjs/node based approach