working on client class