added comments to server routines