working wit commonjs