Converted tabs to spaces and removed trailing whitespace