manage int arrays