updated some comments
made changes from jtlan