Validate arrays

![no-idea](https://f.cloud.github.com/assets/54917/690623/97b1cb96-db17-11e2-982d-c8f8432ffb5a.jpg)