correct int type for statically typed languages
separate out hxml clutter