added cppint() function