client validator