change clientCheck function