add support for ints in interface