Dereferencing arrays with depth fo 3