Pull Request Dev_1.0

you may simplify to 
```
if (!$this->validate()) {
```