make the tests pass
add custom validator