updated readme with validator example