adding debuag output to client