support for various integer types