couple hints for generating the server part