add some comments to my java code