c-array can now take intervals, too