make debug statements print the results of readAll() to emulate the client