experiment with typecase and different array types