use class client