a little debugging on the server side