only optimizing line length
added some comments