add functional test
add validates