added some comments when using server