why the restriction to ints?