array type cast