regex and class validation
javadoc midway
phpunit stub