few basic int array ops