array intrinsics to use tuple class