implemented ints2 using sequence