client working part1