use int types defined in stdint.h