added server and added client printing