removed unused line of code
Changed line separator to \n
fixed lint issues