cppmodule function added