added comments to client