replaced tabs and removed trailing spaces