added comments
added comments
fixed batch-request buggs