nit: put a space after the cast for all of these lines
```java
(short[]) o
```