Added multi-line comments

* Added multi-line comments
* simplified code