work with client validation