added check to make sure client generates data