reworked validation
small fixes
bumped to 0.6.0