generating syntax for server, client communication with jokes