Removed trailing whitespaces
Added comments
Report